#ifndef _LIGHTSOUT_UTIL_H_
#define _LIGHTSOUT_UTIL_H_
#include <stdlib.h>
#include <stdio.h>
#include "boardutil.h"
#include "bitarray.h"
#include "ht.h"
#include "ba-ht.h"
#include "queues.h"
#include "contracts.h"
#include "xalloc.h"

bitarray press_button(ba_ht_elem B, uint8_t i, int row, int col,
                       uint8_t width, uint8_t height);

bool is_solvable(uint8_t width, uint8_t height, ba_ht_elem start);

#endif